﻿<Page x:Class="Skynet.C2SModule.Reports.AuthorsReport"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    
    <Page.Resources>
        <XmlDataProvider x:Key="Items" XPath="/feed/entry" >
            <x:XData>
                <feed xmlns="">
                    <entry Name="Steven Ballmer" DOB="1-Mar-1956">
                        <Title>CEO</Title>
                    </entry>
                </feed>
            </x:XData>
        </XmlDataProvider>
    </Page.Resources>
    <Grid>        
        <StackPanel DataContext="{StaticResource Items}" >
            <TextBlock Text="{Binding XPath=@Name}" FontSize="30" />
            <TextBlock Text="{Binding XPath=Title/text()}" FontSize="30" />
        </StackPanel>        
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="148,248,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
    </Grid>
</Page>
